package prefix.util;

public class CalculationException extends Exception {

    /**
     * 
     */
    private static final long serialVersionUID = 3432388528116713796L;

    public enum CODE {
        INVALID_VALUE

    }

    private CODE m_code;

    public CalculationException(CODE code) {
        super(code.toString());
        this.m_code = code;
    }

    public CalculationException(CODE code, String msg) {
        super(code.toString() + " : " + msg);
        this.m_code = code;
    }

}
